import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [

  // 添加其他路由配置...
  {
    path: '/child-vue2/*',
    meta: { subApp: 'child-vue2' }
  },
  {
    path: '/child-vue3/*',
    meta: { subApp: 'child-vue3' }
  }
]

const router = new VueRouter({
  mode: 'hash',
  base: process.env.BASE_URL,
  routes
})

export default router